package com.job.shuang.HomeWork0711.TemplateMode;

import com.job.shuang.HomeWork0711.TemplateMode.NewsPage;
import com.job.shuang.HomeWork0711.TemplateMode.Page;
import com.job.shuang.HomeWork0711.TemplateMode.WeatherPage;

/**
 * @author Liushuang
 * @version 1.0
 * @since 2022-07-11 21:30:09
 */
public class TestPage {
    public static void main(String[] args) {
        Page p=new NewsPage();
        p.show();

        Page pp=new WeatherPage();
        pp.show();

        //抽象类不能实例化
    }
}
